<div class="admin-login">
    <div class="grid_4">
        <div class="box" style="border: 0px solid #FFCC00;">
            <h2 style="background-color:  #FFCC00; padding: 10px; color: black" > <div id="toggle-paragraphs" >LOGIN  </div> </h2>
            <div class="box" > 
                <span style="text-align: center; font-size: 1.5em "> <?= $this->settings_model->get_setting('webtitle'); ?> </span></br>

                <span style="text-align: center; font-size: 1em "> <?= $this->settings_model->get_setting('webfriendlyname'); ?> </span></br>

            </div>
            <form action="<?= base_url(); ?>admin/login/submit" method="post" name="admin_login">
                <fieldset>
                    <legend>Administration :</legend>
                    <?php if ($this->session->flashdata('message'))
                        print "<div id='red'>" . $this->session->flashdata('message') . "</div>"; ?>

                    <table width="100%" cellpadding="4" cellspacing="4">
                        <tr>
                            <td width="20%">User </td>
                            <td width="60%"><input name="admin_user" type="text" size="30" /></td>
                        </tr>
                        <tr>
                            <td width="20%">Password </td>
                            <td width="60%"><input name="admin_password" type="password" size="30" /></td>
                        </tr>
                        <tr>
                            <td width="20%">&nbsp; </td>
                            <td width="60%"><input name="login" type="submit" value="Login" />
                                 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="<?= base_url();?>"> Back to Home </a> 
                            </td>
                        </tr>

                    </table>

                </fieldset>
            </form>
            
        </div>
    </div>
</div>